<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<link type="text/css" href="css/news_all.css" rel="stylesheet" />
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="n" value="${news}" />
<c:set var="no" value="${n.newsno-3 }" />

<c:if test="${n.newstype eq 1 }">
	<c:set var="newstype" value="뉴스"></c:set>
</c:if>
<c:if test="${n.newstype eq 2 }">
	<c:set var="newstype" value="인터뷰"></c:set>
</c:if>
<c:if test="${n.newstype eq 3 }">
	<c:set var="newstype" value="리뷰"></c:set>
</c:if>

<div id="contents">
	<nav>
		<h2>${newstype}</h2>
	</nav>

	<div id="title">
		<h2>${n.newstit}${n.reades}</h2>
	</div>
	<div id="news_picture">
		<img src="http://image.maxmovie.com/news/K0.jpg">
	</div>

	<aside>
		<div class="sidenews">
			<h2>많이본 뉴스</h2>
			<hr />
			<ul>
				<c:forEach var="p" items="${count1}">
					<li><a href="">${p.newstit}</a></li>
				</c:forEach>
			</ul>
		</div>
		<div class="sidenews">
			<h2 class="clearf">많이본 인터뷰</h2>
			<hr />
			<ul>
				<c:forEach var="p" items="${count2}">
					<li>${p.newstit}</li>
				</c:forEach>
			</ul>
		</div>
		<div class="sidenews">
			<h2 class="clearf">많이본 리뷰</h2>
			<hr />
			<ul>
				<c:forEach var="p" items="${count3}">
					<li>${p.newstit}</li>
				</c:forEach>
			</ul>
		</div>

	</aside>
	<div id=substance class="clearf">
		<p>${n.newscontents}</p>
		<div id="newsbottom">
			<ul>
				<li><a href="news_v.bi?newsno=${no}">${newstype }${newstitle }</a></li>
				<li><a href=""> </a></li>
				<li><a href=""></a></li>
				<li><a href="#"></a></li>

				<li><a href=""></a></li>

				<li><a href=""></a></li>

				<li><a href=""></a></li>


			</ul>
		</div>
	</div>


</div>